<template>
  <div>
    <h3>Child</h3>
    <slot>

    </slot>
    <button @click="emit('click:btn')">Call myMethod in GrandChild</button>
  </div>
</template>
<script setup>
const emit = defineEmits(['click:btn'])
</script>
<style lang="">

</style>